<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        div {
            width: 100px;
            height: 100px;
            border: 1px solid red;
        }
        span {
            /*不能修改宽高*/
            border: 1px solid red;
            /*如果要修改宽高，则要改成块级block或者行内块inline-block*/
            display: block;
            width: 100px;
            height: 100px;
        }
        img {
            width: 100px;
            height: 100px;
        }
        a {
            background-color: #0aa1ed;
            /*超链接是行内元素，无法修改宽高，需要改成块级或者行内块*/
            display: block;
            width: 132px;
            height: 40px;
            font-size: 20px;
            text-decoration: none;
            color: white;
            text-align: center;
            line-height: 40px;
            /*设置圆角*/
            border-radius: 3px;

        }

    </style>
</head>
<body>
<a href="">查看详情</a>
<img src="../4.png" alt="">
<img src="../4.png" alt="">
<img src="../4.png" alt="">
<div>div1</div>
<div>div2</div>
<div>div3</div>
<span>span1</span>
<span>span2</span>
<span>span3</span>

</body>
</html>